﻿

using BotDetector.Core;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace BotDetector.Tests.Generated
{
    [TestClass]
    public class DetectorBotTestWithTopicFood
    {
        private static Detector detector;

        [ClassInitialize()]
        public static void ClassInit(TestContext context)
        {
            detector = new Detector();
        }

		        [TestMethod]
        public void TestForIndividualBotTextWithTopicFood1()
        {
            double rez = detector.Classify("Typically, it takes years (even decades) to collect the seven Dragon Balls. If you're dining at Japan's Danke Dinning, however, expect to find them all in your hot pot. Based on the beloved anime series, the restaurant serves seven orange balls made of collagen jelly with little pieces of carrot cut into stars inside. They're call the dish Dragon Ball Nabe, Kotaku reports. Nabe, also known as hot pot, features uncooked meat and vegetables in a seasoned broth that's boiled to the customers' preference. It's typically served a dipping sauce.");

            Assert.IsTrue((rez > 0.5), "Food test 1 failed");
        }
		        [TestMethod]
        public void TestForIndividualBotTextWithTopicFood2()
        {
            double rez = detector.Classify("Another chef showing how to make a mouth-watering EBT is Miles Kirby, co-founder of Caravan restaurants. Like Hansen, Kirby is a master of fusion. Ever up for challenging convention, he has come up with ham hock hash with poached eggs and hollandaise, served with either wild garlic or smashed peas, depending on the season. The foodie masses are stampeding through his doors at Caravan Exmouth Market. 'It�s become one of our most popular all-day brunch dishes,' Kirby reveals.");

            Assert.IsTrue((rez > 0.5), "Food test 2 failed");
        }
		        [TestMethod]
        public void TestForIndividualBotTextWithTopicFood3()
        {
            double rez = detector.Classify("I made these for my Christmas cookie platter. They're wonderful in every sense: taste, smell, sight and even hearing.");

            Assert.IsTrue((rez > 0.5), "Food test 3 failed");
        }
		        [TestMethod]
        public void TestForIndividualBotTextWithTopicFood4()
        {
            double rez = detector.Classify("Preheat oven to 350 degrees. Butter and flour a baking sheet. In a bowl, cream together the butter and sugar until light and fluffy. Beat in the eggs, vanilla, and orange zest until blended. In another bowl, stir together the flour, baking powder, cloves and salt. Add the flour mixture to the butter mixture and beat until blended. Stir in cranberries and pistachios.Divide the dough in half.");

            Assert.IsTrue((rez > 0.5), "Food test 4 failed");
        }
			}
}